function bar(foo) {
    switch(foo) {
        // foo
        case 1:
            // falls through
        case 2:
            doIt();
    }
}
